package com.sy.bean.pucharse.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(25)
public class InventoryExc {
    @ApiModelProperty("仓库名称")
    @ExcelProperty("仓库名称")
    String name;
    @ApiModelProperty("商品分类名称")
    @ExcelProperty("商品分类名称")
    String categoryName;
    @ApiModelProperty("商品编号")
    @ExcelProperty("商品编号")
    String code;
    @ApiModelProperty("商品名称")
    @ExcelProperty("商品名称")
    String goodName;
    @ApiModelProperty("规格型号")
    @ExcelProperty("规格型号")
    String spec;
    @ApiModelProperty("单位")
    @ExcelProperty("单位")
    String unit;
    @ApiModelProperty("系统库存")
    @ExcelProperty("系统库存")
    int stock;
    @ApiModelProperty("盘点库存")
    @ExcelProperty("盘点库存")
    int takestock;
    @ApiModelProperty("盘盈盘亏")
    @ExcelProperty("盘盈盘亏")
    String status;
    @ApiModelProperty("备注")
    @ExcelProperty("备注")
    String note;
}
